package com.pond.pond.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pond.common.core.annotation.Excel;
import com.pond.common.core.web.domain.BaseEntity;

/**
 * 鱼塘评价对象 pond_review
 * 
 * @author ruoyi
 * @date 2025-07-15
 */
public class PondReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 关联鱼塘ID */
    @Excel(name = "关联鱼塘ID")
    private Long pondId;

    /** 评价用户ID */
    @Excel(name = "评价用户ID")
    private Long userId;

    /** 评分 1-5 */
    @Excel(name = "评分 1-5")
    private Integer rating;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPondId(Long pondId) 
    {
        this.pondId = pondId;
    }

    public Long getPondId() 
    {
        return pondId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setRating(Integer rating) 
    {
        this.rating = rating;
    }

    public Integer getRating() 
    {
        return rating;
    }

    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pondId", getPondId())
            .append("userId", getUserId())
            .append("rating", getRating())
            .append("comment", getComment())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
